package com.ckjava.test.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("web api 日志表")
public class WebApiLog extends BaseEntity {

    @ApiModelProperty("流水号")
    private Long id;
    @ApiModelProperty("操作人")
    private String opUser;
    @ApiModelProperty("api uri")
    private String apiUri;
    @ApiModelProperty("api方法")
    private String apiMethod;
    @ApiModelProperty("api参数")
    private String apiParameter;
    @ApiModelProperty("api body")
    private String apiBody;
    @ApiModelProperty("api 请求头")
    private String apiHeader;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getOpUser() {
        return opUser;
    }

    public void setOpUser(String opUser) {
        this.opUser = opUser;
    }

    public String getApiUri() {
        return apiUri;
    }

    public void setApiUri(String apiUri) {
        this.apiUri = apiUri;
    }

    public String getApiMethod() {
        return apiMethod;
    }

    public void setApiMethod(String apiMethod) {
        this.apiMethod = apiMethod;
    }

    public String getApiParameter() {
        return apiParameter;
    }

    public void setApiParameter(String apiParameter) {
        this.apiParameter = apiParameter;
    }

    public String getApiBody() {
        return apiBody;
    }

    public void setApiBody(String apiBody) {
        this.apiBody = apiBody;
    }

    public String getApiHeader() {
        return apiHeader;
    }

    public void setApiHeader(String apiHeader) {
        this.apiHeader = apiHeader;
    }

    public WebApiLog() {
    }

    public WebApiLog(Long id, String opUser, String apiUri, String apiMethod, String apiParameter, String apiBody, String apiHeader) {
        this.id = id;
        this.opUser = opUser;
        this.apiUri = apiUri;
        this.apiMethod = apiMethod;
        this.apiParameter = apiParameter;
        this.apiBody = apiBody;
        this.apiHeader = apiHeader;
    }
}
